package com.sz.jinzheng.mapper;

import com.sz.jinzheng.model.StaffExmination;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StaffExminationMapper {
    int addStaffExmination(StaffExmination staffExmination);

    /**
     * 更新StaffExmination
     *
     * @param staffExmination
     * @return
     */
    int updateStaffExmination(StaffExmination staffExmination);

    /**
     * 查询出对应状态的任务详情
     *
     * @param staffExmination
     * @return
     */
    StaffExmination getStaffExminationByKey(StaffExmination staffExmination);

    /**
     * 通过id查询
     *
     * @param id
     * @return
     */
    StaffExmination getStaffExminationById(Integer id);
}
